<?php
namespace App\Providers\Repositories;

use App\Contracts\Repositories\GoodsRepository;
use Illuminate\Support\ServiceProvider;

class GoodsServiceProvider extends ServiceProvider
{
    protected $defer = true;

    public function boot()
    {
    }

    public function register()
    {
        $this->app->singleton(
            GoodsRepository::class,
            \App\Models\Goods\GoodsRepository::class
        );
    }

    public function provides()
    {
        return array(GoodsRepository::class);
    }
}
